package com.pmonitor.servlet;

import javax.servlet.http.HttpServlet;

import weibo4j.Weibo;
import weibo4j.http.AccessToken;

public class BaseServlet extends HttpServlet {
	/** serialVersionUID.*/
	private static final long serialVersionUID = 2429182318106600454L;
	/** weibo Weibo.*/
	protected Weibo weibo = null;
	protected AccessToken accessToken = null;
	
	protected boolean isLogin(){
		if(weibo!=null&&accessToken!=null){
			return true;
		}
		return false;
	}
}
